namespace java com.thrift.demo

struct User{
 1:required string username;
 3:required i32 age;
}

struct Student{
 1:optional string idCard;
 2:required string username;
}
service Hello{
   void sayHello(1:optional string username);

   void sayBye(1:User user);

   void sayStudent(1:required Student student)
}





